package com.copa.module.goods.mapper;

import com.copa.module.goods.domain.dto.GoodsSpecDto;
import com.copa.module.goods.domain.entity.GoodsSpecificationsEntity;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author copa
 * @createDate 2021-01-14
 * @function t_goods_specifications表 Mapper 接口
 */
@Mapper
public interface GoodsSpecificationsDao extends BaseMapper<GoodsSpecificationsEntity> {

    List<GoodsSpecDto> findGoodsSpecByGoodsId(@Param("goodsId") Long goodsId);
}
